import request from '@/utils/request'
import {
	transformPostBody,
	transformRequestURL
} from "@/api/queryParam/index.js";
export function EvaluationItemContentaddList(UrlParams, body) {
	console.log({
		url: '/elder/evaluation/elder-evaluation-item-content/page',
		method: 'post',
		params: UrlParams,
		data: body
	});
	return request({
		url: '/elder/evaluation/elder-evaluation-item-content/page',
		method: 'post',
		params: UrlParams,
		data: body
	})
}

export function getEvaluationItemContent(Id) {
	return request({
		url: '/elder/evaluation/elder-evaluation-item-content/' + Id,
		method: 'get'
	})
}

export function addEvaluationItemContent(data) {
	return request({
		url: '/elder/evaluation/elder-evaluation-item-content/save',
		method: 'post',
		data: data
	})
}

export function updateEvaluationItemContent(data) {
	return request({
		url: '/elder/evaluation/elder-evaluation-item-content/update',
		method: 'post',
		data: data
	})
}

export function delEvaluationItemContent(Ids) {
	return request({
		url: '/elder/evaluation/elder-evaluation-item-content/delete',
		method: 'delete',
		data: Ids
	})
}


//外部调用：import { EvaluationItemContentaddList, getEvaluationItemContent, addEvaluationItemContent, updateEvaluationItemContent, delEvaluationItemContent } from '@/api/elder/Evaluation/CreateDeatil'